package com.pateo.bjev.contacts.application;

import android.app.Application;
import android.content.Intent;

import com.pateo.bjev.contacts.service.ContactService;
import com.pateo.bluetooth.logic.contact.manager.ContactsManager;

/**
 * Created by pateo on 17-5-9.
 */

public class ContactsApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        ContactsManager.getInstance(getApplicationContext());

        startContactService();
    }

    private void startContactService(){
        Intent intent = new Intent(this, ContactService.class);
        startService(intent);
    }
}
